﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Page.Master" AutoEventWireup="true" CodeBehind="EmpViewPolicy.aspx.cs" Inherits="HealthInsuranceMgm.Admin.EmpViewPolicy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<form id="from1" runat="server">

<asp:Panel ID="Panel1" runat="server">
 <fieldset>
            <legend> <h3>List Policies</h3></legend>

       
&nbsp;<asp:GridView ID="grvPolicy" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="CompanyId"
       
        ClientIDMode="Static" Width="627px" 
        
                BorderColor="#CCCCCC" BorderStyle="Solid" 
                onselectedindexchanging="grvPolicy_SelectedIndexChanging">
        <Columns>
            <asp:BoundField DataField="PolicyId" HeaderText="PolicyId" 
                SortExpression="PolicyId" />
            <asp:BoundField DataField="PolicyName" HeaderText="Policy Name" />
            <asp:BoundField DataField="PolicyDesc" HeaderText="Description" />
            <asp:BoundField DataField="Amount" HeaderText="Amount" />
            <asp:BoundField DataField="Emi" HeaderText="EMI" />
              <asp:BoundField DataField="CompanyId" HeaderText="CompanyId" />
               
            <asp:CommandField ShowSelectButton="True" ButtonType="link" 
                 SelectText="CompanyDetail"/>
           
         
        </Columns>
                <PagerSettings PageButtonCount="15" />

    </asp:GridView>
 
    <asp:HiddenField Visible ="true" ID="HiddenField1" runat="server" />
     </fieldset>
     </asp:Panel>
     <asp:Panel ID="Panel2" runat="server">
     <table>
        <tr>
            <td>Company Id:</td>
            <td>
                <asp:Label ID="lblid" runat="server" Text=""></asp:Label></td>
        </tr>
         <tr>
            <td>Company Name:</td>
            <td><asp:Label ID="lblname" runat="server" Text=""></asp:Label></td>
        </tr>
         <tr>
            <td>Address:</td>
            <td><asp:Label ID="lbladdress" runat="server" Text=""></asp:Label></td>
        </tr>
         <tr>
            <td>Phone:</td>
            <td><asp:Label ID="lblphone" runat="server" Text=""></asp:Label></td>
        </tr>
         <tr>
            <td>Url:</td>
            <td><asp:Label ID="lblurl" runat="server" Text=""></asp:Label></td>
        </tr>
     </table>
</asp:Panel>
</form>


</asp:Content>
